//
//  UINavigationBar+Color.m
//  CaiYun
//
//  Created by 今日信息科技 on 2017/6/26.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import "UINavigationBar+Color.h"

@implementation UINavigationBar (Color)
- (void)setBarTintColor:(UIColor *)barTintColor{
    
    UIView *color_view = [[UIView alloc]initWithFrame:CGRectMake(0.0, - STATUS_HEIGHT, SCREEN_WIDTH, NAVIBAR_HEIGHT + STATUS_HEIGHT)];
    color_view.backgroundColor = barTintColor;
    [self setValue:color_view forKey:@"backgroundView"];
    
}
- (void)setAlpha:(CGFloat)alpha{
    [super setAlpha:alpha];
}

@end
